ouput question on Functions in Python